﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IAuthenticationService.cs" company="">
//   
// </copyright>
// <summary>
//   The AuthenticationService interface.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace Skymate.Services.Authentication
{
    /// <summary>
    ///     The AuthenticationService interface.
    /// </summary>
    public interface IAuthenticationService
    {
        /// <summary>
        /// The sign in.
        /// </summary>
        /// <param name="customer">
        /// The customer.
        /// </param>
        /// <param name="createPersistentCookie">
        /// The create persistent cookie.
        /// </param>
        void SignIn(string customer, bool createPersistentCookie);

        /// <summary>
        ///     The sign out.
        /// </summary>
        void SignOut();

        /// <summary>
        ///     The get authenticated customer.
        /// </summary>
        /// <returns>
        ///     The <see cref="string" />.
        /// </returns>
        string GetAuthenticatedCustomer();
    }
}